package org.daverog.jaxrs.iodocs;

import org.apache.cxf.jaxrs.model.wadl.Description;

import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.Path;

/**
 * Created by IntelliJ IDEA.
 * User: Anjana Kulasinghe
 * Date: 9/26/13
 */

@Path("/resource")
public class MyHeaderApi {
    @GET
        public void query(
                @HeaderParam("My Header Parameter Name")
                @Description("My Header Parameter Description")
                @IoDocsRequired
                @IoDocsDefaultInteger(2)
                int headerParameter) {
        }
}
